<?php

namespace CNAM\ActimanBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use CNAM\ActimanBundle\Entity\Phase;
use CNAM\ActimanBundle\Entity\ProcedurePlanifiee;
/**
 * phasePlanifiee
 *
 * @ORM\Table()
 * @ORM\Entity
 */
class phasePlanifiee
{
    /**
     * @var integer
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;
    
    /**
     * @var \DateTime
     *
     * @ORM\Column(name="dateDebutPhase", type="date", nullable=true)
     */
    private $dateDebutPhase;

    /**
     * @var \DateTime
     *
     * @ORM\Column(name="dateFinPhase", type="date", nullable=true)
     */
    private $dateFinPhase;
    
    /**
    * 
    * 
    * @ORM\ManyToOne(targetEntity="ProcedurePlanifiee")
    *
    */
    protected $ProcedurePlanifiee;
    
    /**
     *
     * @ORM\ManyToOne(targetEntity="Phase")
     */
    protected $Phase;

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }
    
    /**
     * Set dateDebutPhase
     *
     * @param \DateTime $dateDebutPhase
     */
    public function setDateDebutPhase($dateDebutPhase)
    {
        $this->dateDebutPhase = $dateDebutPhase;
    }

    /**
     * Get dateDebutPhase
     *
     * @return \DateTime 
     */
    public function getDateDebutPhase()
    {
        return $this->dateDebutPhase;
    }

    /**
     * Set dateFinPhase
     *
     * @param \DateTime $dateFinPhase
     */
    public function setDateFinPhase($dateFinPhase)
    {
        $this->dateFinPhase = $dateFinPhase;
    }

    /**
     * Get dateFinPhase
     *
     * @return \DateTime 
     */
    public function getDateFinPhase()
    {
        return $this->dateFinPhase;
    }
 
    /**
     *Get Phase
     * 
     * @return Phase
     */
    public function getPhase() {
        return $this->Phase;
    }

    /**
     *Set Phase
     * 
     * @param Phase $Phase
     */
    public function setPhase($Phase) {
        $this->Phase = $Phase;
    }
    
    /**
     *Get ProcedurePlanifiee
     * 
     * @return ProcedurePlanifiee
     */
    public function getProcedurePlanifiee() {
        return $this->ProcedurePlanifiee;
    }

    /**
     *Set ProcedurePlanifiee
     * 
     * @param ProcedurePlanifiee $ProcedurePlanifiee
     */
    public function setProcedurePlanifiee($ProcedurePlanifiee) {
        $this->ProcedurePlanifiee = $ProcedurePlanifiee;
    }
}
